package com.zelix;

import java.awt.Component;
import java.awt.Container;
import java.awt.event.*;
import java.util.EventObject;
import javax.swing.*;
import javax.swing.text.JTextComponent;


public class z3 extends x3
        implements FocusListener, ActionListener {

    JTextField f;
    JTextField g;
    JTextField h;
    static String i[];
    private static String z[];

    public z3(JFrame jframe, jt jt1, int j) {
        super(jframe, jt1, j);
        a();
    }

    public void actionPerformed(ActionEvent actionevent) {
        Object obj = actionevent.getSource();
        a(obj);
    }

    public void focusGained(FocusEvent focusevent) {
        Object obj = focusevent.getSource();
        if (obj == f) {
            super.e.setText(z[6]);
        } else if (obj == g) {
            super.e.setText(z[7]);
        } else if (obj == h)
            super.e.setText(z[5]);
    }

    public void focusLost(FocusEvent focusevent) {
        super.e.setText(" ");
        Object obj = focusevent.getSource();
        a(obj);
    }

    void a(Object obj) {
        label0:
        {
            if (obj == f) {
                String s = f.getText().trim();
                if (s.length() == 0) {
                    f.setText(super.c.m());
                    f2.a(super.b, z[2], z[0]);
                } else if (s.indexOf("*") != -1) {
                    f.setText(super.c.m());
                    f2.a(super.b, z[2], z[3]);
                } else
                    super.c.b(s);
            } else if (obj == g) {
                String s1 = g.getText().trim();
                if (s1.indexOf("*") != -1) {
                    g.setText(super.c.o());
                    f2.a(super.b, z[2], z[1]);
                } else
                    super.c.c(s1);
            } else if (obj != h)
                break label0;
            String s2 = h.getText().trim();
            if (s2.indexOf("*") != -1) {
                h.setText(super.c.r());
                f2.a(super.b, z[2], z[4]);
            } else
                super.c.f(s2);
        }
    }

    public void a() {
        j0 j0_1 = new j0(this);
        setLayout(j0_1);
        JLabel jlabel = new JLabel(z[11], 2);
        f = new JTextField();
        JLabel jlabel1 = new JLabel(z[9], 2);
        g = new JTextField();
        JLabel jlabel2 = new JLabel(z[15], 2);
        h = new JTextField();
        super.e = new JLabel(" ");
        add(f, z[16]);
        add(g, z[14]);
        add(h, z[10]);
        add(jlabel, z[17]);
        add(jlabel1, z[12]);
        add(jlabel2, z[8]);
        add(super.e, z[13]);
        j0_1.a(i);
        f.setText(super.c.m());
        g.setText(super.c.o());
        h.setText(super.c.r());
        f.addFocusListener(this);
        g.addFocusListener(this);
        h.addFocusListener(this);
        f.addActionListener(this);
        g.addActionListener(this);
        h.addActionListener(this);
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x35;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x2d;
                    break;
                case 1:
                    key = 52;
                    break;
                case 2:
                    key = 113;
                    break;
                case 3:
                    key = 21;
                    break;
                default:
                    key = 53;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[] = new String[18];
        as[0] = z(z("nX\020fF\rG\004sSDLQx@^@QwP\rG\001pVDR\030pQ\003\0247|PAPQgP^@\036gPI\032"));
        as[1] = z(z("hL\005p[IGQvYLG\0025[LY\0245VLZ\037zA\rW\036{AL]\0375BDX\025vT_P\002;\025k]\024yQ\rF\024fABF\024q\033"));
        as[2] = z(z("hF\003zG"));
        as[3] = z(z("nX\020fF\rG\004sSDLQvTCZ\036a\025N[\037aTDZQb\\AP\022tGIG_5sDQ\035q\025_Q\002aZ_Q\025;"));
        as[4] = z(z("dY\001yP@Q\037aF\rW\035tF^\024\037tXHGQvTCZ\036a\025N[\037aTDZQb\\AP\022tGIG_5sDQ\035q\025_Q\002aZ_Q\025;"));
        as[5] = z(z("hZ\005pG\rW\036xXL\024\002pELF\020aPI\024\035|FY\024\036s\025KA\035yL\rE\004tYDR\030pQ\rW\035tF^\024\037tXHG_5xLMQ{ZY\024\022z[YU\030{\025Z]\035qVLF\025f\033"));
        as[6] = z(z("hZ\005pG\r@\031p\025NX\020fF\rZ\020xP\rG\004sSDL_5{B\024\006|YIW\020gQ^\032"));
        as[7] = z(z("hZ\005pG\rR\004yYT\024\000`TA]\027|PI\024\022yT^GQ{T@Q_5xLMQ{ZY\024\022z[YU\030{\025Z]\035qVLF\025f\033"));
        as[8] = z(z("DY\001yP@Q\037aFaV\035"));
        as[9] = z(z("hL\005p[IGK"));
        as[10] = z(z("DY\001yP@Q\037aFkX\025"));
        as[11] = z(z("~A\027s\\U\016"));
        as[12] = z(z("HL\005p[IG=wY"));
        as[13] = z(z("E]\037ayOX"));
        as[14] = z(z("HL\005p[IG7yQ"));
        as[15] = z(z("dY\001yP@Q\037aF\027"));
        as[16] = z(z("CU\034psAP"));
        as[17] = z(z("CU\034pyOX"));
        z = as;
        String as1[] = new String[23];
        as1[0] = z(z("AU\bz@Y\032\031p\\J\\\005([LY\024SYI\032\025pSLA\035a}H]\026}A\007\003"));
        as1[1] = z(z("AU\023pYz]\025a]\020Y\020m\035CU\034pyOX_qPKU\004yAz]\025a]\001\024\024mAHZ\025fyOX_qPKU\004yAz]\025a]\001\024\030xEAQ\034p[YG=wY\003P\024sTXX\005B\\I@\031<"));
        as1[2] = z(z("CU\034pyOX_vPC@\024gl\020Z\020xPkX\025;VHZ\005pGt"));
        as1[3] = z(z("CU\034pyOX_yPK@L "));
        as1[4] = z(z("CU\034pyOX_b\\I@\031(YLV\024ybDP\005}"));
        as1[5] = z(z("CU\034psAP_yPK@L{T@Q=wY\003F\030r]Y\037@"));
        as1[6] = z(z("CU\034psAP_aZ]\tD"));
        as1[7] = z(z("CU\034psAP_g\\J\\\005(VBZ\005t\\CQ\003;GDS\031a\030\030"));
        as1[8] = z(z("HL\005p[IG=wY\003W\024{AHF((PU@\024{Q^r\035q\033NQ\037aP_m"));
        as1[9] = z(z("HL\005p[IG=wY\003X\024sA\020\001"));
        as1[10] = z(z("HL\005p[IG=wY\003C\030qAE\t\035tWHX&|QY\\"));
        as1[11] = z(z("HL\005p[IG7yQ\003X\024sA\020Q\taPCP\002YWA\032\003|RE@Z$"));
        as1[12] = z(z("HL\005p[IG7yQ\003@\036e\bCU\034psAP_wZY@\036x\036\030"));
        as1[13] = z(z("HL\005p[IG7yQ\003F\030r]Y\t\022z[YU\030{P_\032\003|RE@\\ "));
        as1[14] = z(z("DY\001yP@Q\037aFaV\035;VHZ\005pGt\t\030xEAQ\034p[YG7yQ\003W\024{AHF("));
        as1[15] = z(z("DY\001yP@Q\037aFaV\035;YHR\005(\0"));
        as1[16] = z(z("DY\001yP@Q\037aFaV\035;BDP\005}\bAU\023pYz]\025a]"));
        as1[17] = z(z("DY\001yP@Q\037aFkX\025;YHR\005(\\@D\035pXHZ\005fyOX_g\\J\\\005>\004"));
        as1[18] = z(z("DY\001yP@Q\037aFkX\025;ABDLpMYQ\037qFkX\025;WB@\005zX\006\001"));
        as1[19] = z(z("DY\001yP@Q\037aFkX\025;GDS\031a\bN[\037aTDZ\024g\033_]\026}A\000\001"));
        as1[20] = z(z("E]\037ayOX_yPK@L "));
        as1[21] = z(z("E]\037ayOX_wZY@\036x\bN[\037aTDZ\024g\033O[\005aZ@\031D"));
        as1[22] = z(z("E]\037ayOX_g\\J\\\005(VBZ\005t\\CQ\003;GDS\031a\030\030"));
        i = as1;
    }
}
